YAYDP\Core\Manager\YAYDP_WC_Coupon_Manager S

Total Complexity 32
Dependencies 5
Dependents 1
Total lines 133
Lines of code 93
Logical lines of code 57
Comment lines 0
Methods 7
Properties 0

Methods 7

Method Rating Maintainability Complexity Lines of code
coupon_check_valid_product_on_sale()
A
51 9 27
coupon_check_valid_cart_include_sale_items()
S
56 6 19
allow_add_yaydp_coupon_when_other_is_single_use()
S
66 5 9
check_valid_individual_use()
S
61 4 13
__construct()
S
61 3 11
keep_yaydp_coupon_when_other_is_single_use()
S
67 3 8
get_error_message()
S
70 2 6